package com.gitee.linmt.enums;

import com.gitee.linmt.base.ServiceDictionaryEnum;
import lombok.Getter;

@Getter
public enum ErrorEnum implements ServiceDictionaryEnum {

    /**
     * 出错的数据字典枚举
     * "0201"：重复
     * "01010101"：code过长
     * "020"：没有层级格式
     * "0"：小于一层的长度
     */
//    ERROR("0", "", "");
            ;
    private final String code;
    private final String value;
    private final String description;

    ErrorEnum(String code, String value, String description) {
        this.code = code;
        this.value = value;
        this.description = description;
    }
}
